{"ast":null,"code":"import { genComponentStyleHook, mergeToken } from '../../theme/internal';\nimport { genFocusStyle, resetComponent } from '../../style';\nconst genBreadcrumbStyle = token => {\n  const {\n    componentCls,\n    iconCls\n  } = token;\n  return {\n    [componentCls]: Object.assign(Object.assign({}, resetComponent(token)), {\n      color: token.breadcrumbBaseColor,\n      fontSize: token.breadcrumbFontSize,\n      [iconCls]: {\n        fontSize: token.breadcrumbIconFontSize\n      },\n      ol: {\n        display: 'flex',\n        flexWrap: 'wrap',\n        margin: 0,\n        padding: 0,\n        listStyle: 'none'\n      },\n      a: Object.assign({\n        color: token.breadcrumbLinkColor,\n        transition: `color ${token.motionDurationMid}`,\n        padding: `0 ${token.paddingXXS}px`,\n        borderRadius: token.borderRadiusSM,\n        height: token.lineHeight * token.fontSize,\n        display: 'inline-block',\n        marginInline: -token.marginXXS,\n        '&:hover': {\n          color: token.breadcrumbLinkColorHover,\n          backgroundColor: token.colorBgTextHover\n        }\n      }, genFocusStyle(token)),\n      [`li:last-child > ${componentCls}-separator`]: {\n        display: 'none'\n      },\n      [`${componentCls}-separator`]: {\n        marginInline: token.breadcrumbSeparatorMargin,\n        color: token.breadcrumbSeparatorColor\n      },\n      [`${componentCls}-link`]: {\n        [`\n          > ${iconCls} + span,\n          > ${iconCls} + a\n        `]: {\n          marginInlineStart: token.marginXXS\n        }\n      },\n      [`${componentCls}-overlay-link`]: {\n        borderRadius: token.borderRadiusSM,\n        height: token.lineHeight * token.fontSize,\n        display: 'inline-block',\n        padding: `0 ${token.paddingXXS}px`,\n        marginInline: -token.marginXXS,\n        [`> ${iconCls}`]: {\n          marginInlineStart: token.marginXXS,\n          fontSize: token.fontSizeIcon\n        },\n        '&:hover': {\n          color: token.breadcrumbLinkColorHover,\n          backgroundColor: token.colorBgTextHover,\n          a: {\n            color: token.breadcrumbLinkColorHover\n          }\n        },\n        a: {\n          '&:hover': {\n            backgroundColor: 'transparent'\n          }\n        }\n      },\n      // rtl style\n      [`&${token.componentCls}-rtl`]: {\n        direction: 'rtl'\n      }\n    })\n  };\n};\n// ============================== Export ==============================\nexport default genComponentStyleHook('Breadcrumb', token => {\n  const BreadcrumbToken = mergeToken(token, {\n    breadcrumbBaseColor: token.colorTextDescription,\n    breadcrumbFontSize: token.fontSize,\n    breadcrumbIconFontSize: token.fontSize,\n    breadcrumbLinkColor: token.colorTextDescription,\n    breadcrumbLinkColorHover: token.colorText,\n    breadcrumbLastItemColor: token.colorText,\n    breadcrumbSeparatorMargin: token.marginXS,\n    breadcrumbSeparatorColor: token.colorTextDescription\n  });\n  return [genBreadcrumbStyle(BreadcrumbToken)];\n});","map":{"version":3,"names":["genComponentStyleHook","mergeToken","genFocusStyle","resetComponent","genBreadcrumbStyle","token","componentCls","iconCls","Object","assign","color","breadcrumbBaseColor","fontSize","breadcrumbFontSize","breadcrumbIconFontSize","ol","display","flexWrap","margin","padding","listStyle","a","breadcrumbLinkColor","transition","motionDurationMid","paddingXXS","borderRadius","borderRadiusSM","height","lineHeight","marginInline","marginXXS","breadcrumbLinkColorHover","backgroundColor","colorBgTextHover","breadcrumbSeparatorMargin","breadcrumbSeparatorColor","marginInlineStart","fontSizeIcon","direction","BreadcrumbToken","colorTextDescription","colorText","breadcrumbLastItemColor","marginXS"],"sources":["/data/messenger.client/node_modules/antd/es/breadcrumb/style/index.js"],"sourcesContent":["import { genComponentStyleHook, mergeToken } from '../../theme/internal';\nimport { genFocusStyle, resetComponent } from '../../style';\nconst genBreadcrumbStyle = token => {\n  const {\n    componentCls,\n    iconCls\n  } = token;\n  return {\n    [componentCls]: Object.assign(Object.assign({}, resetComponent(token)), {\n      color: token.breadcrumbBaseColor,\n      fontSize: token.breadcrumbFontSize,\n      [iconCls]: {\n        fontSize: token.breadcrumbIconFontSize\n      },\n      ol: {\n        display: 'flex',\n        flexWrap: 'wrap',\n        margin: 0,\n        padding: 0,\n        listStyle: 'none'\n      },\n      a: Object.assign({\n        color: token.breadcrumbLinkColor,\n        transition: `color ${token.motionDurationMid}`,\n        padding: `0 ${token.paddingXXS}px`,\n        borderRadius: token.borderRadiusSM,\n        height: token.lineHeight * token.fontSize,\n        display: 'inline-block',\n        marginInline: -token.marginXXS,\n        '&:hover': {\n          color: token.breadcrumbLinkColorHover,\n          backgroundColor: token.colorBgTextHover\n        }\n      }, genFocusStyle(token)),\n      [`li:last-child > ${componentCls}-separator`]: {\n        display: 'none'\n      },\n      [`${componentCls}-separator`]: {\n        marginInline: token.breadcrumbSeparatorMargin,\n        color: token.breadcrumbSeparatorColor\n      },\n      [`${componentCls}-link`]: {\n        [`\n          > ${iconCls} + span,\n          > ${iconCls} + a\n        `]: {\n          marginInlineStart: token.marginXXS\n        }\n      },\n      [`${componentCls}-overlay-link`]: {\n        borderRadius: token.borderRadiusSM,\n        height: token.lineHeight * token.fontSize,\n        display: 'inline-block',\n        padding: `0 ${token.paddingXXS}px`,\n        marginInline: -token.marginXXS,\n        [`> ${iconCls}`]: {\n          marginInlineStart: token.marginXXS,\n          fontSize: token.fontSizeIcon\n        },\n        '&:hover': {\n          color: token.breadcrumbLinkColorHover,\n          backgroundColor: token.colorBgTextHover,\n          a: {\n            color: token.breadcrumbLinkColorHover\n          }\n        },\n        a: {\n          '&:hover': {\n            backgroundColor: 'transparent'\n          }\n        }\n      },\n      // rtl style\n      [`&${token.componentCls}-rtl`]: {\n        direction: 'rtl'\n      }\n    })\n  };\n};\n// ============================== Export ==============================\nexport default genComponentStyleHook('Breadcrumb', token => {\n  const BreadcrumbToken = mergeToken(token, {\n    breadcrumbBaseColor: token.colorTextDescription,\n    breadcrumbFontSize: token.fontSize,\n    breadcrumbIconFontSize: token.fontSize,\n    breadcrumbLinkColor: token.colorTextDescription,\n    breadcrumbLinkColorHover: token.colorText,\n    breadcrumbLastItemColor: token.colorText,\n    breadcrumbSeparatorMargin: token.marginXS,\n    breadcrumbSeparatorColor: token.colorTextDescription\n  });\n  return [genBreadcrumbStyle(BreadcrumbToken)];\n});"],"mappings":"AAAA,SAASA,qBAAqB,EAAEC,UAA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